<?
include('../tools/form.php');
include('../head.php');
$kode=$_GET['kode'];
$result= select_table('mst_kelas', '2','kd_kelas',"$kode");//untuk Kode di sesuaikan dengan table cth kd_siswa
while($row = mysql_fetch_array($result)){
$kd_kelas=$row['kd_kelas'];
$nm_kelas=$row['nm_kelas'];
$kapasitas=$row['kapasitas'];
$status_delete=$row['status_delete'];
}
form_buka('mst_kelas_edit_submit.php');
//============================= Judul Form ========================
judul('Form Input Mst Kelas');
//============================= Isi Form ==========================
?> <table style='width:100%;' > <tr> <td> <?input(' Kd Kelas','kd_kelas',"value='$kd_kelas' readonly='readonly'");?>
</td> <td> <?input(' Nm Kelas','nm_kelas',"value='$nm_kelas'");?>
</td> </tr>
<tr> <td> <?input(' Kapasitas','kapasitas',"value='$kapasitas'");?>
</td> <td>
</td> </tr>
<tr><td colspan='2' align='center' > <br> <? button('submit','Simpan'); button('reset','Kosong');?> </td></tr></table><? //============================= Button ============================
form_tutup(); ?> 